package org.ax.service.device;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.ax.pojo.device.DeviceCheck;
import org.ax.pojo.device.DeviceFault;

import java.util.List;

/**
 * 编程人:赵浩鑫
 * 时间:2021-03-03-14:58
 */
public interface DeviceFaultService extends IService<DeviceFault> {
    Page<DeviceFault> searchDeviceFaults(Page page, String deviceId);
    boolean addDeviceFault(DeviceFault deviceFault);
    boolean updateDeviceFault(DeviceFault deviceFault);
    boolean deletesDeviceFault(String[] ids);
    DeviceFault toDeviceFaultId(String id);
    List<DeviceFault> findDeviceFaults();
}
